package com.wrupple.muba.catalogs.client.activity.process.impl;

import com.google.gwt.core.client.JavaScriptObject;
import com.wrupple.muba.catalogs.client.activity.process.CatalogEditingProcess;
import com.wrupple.muba.catalogs.client.activity.process.task.CatalogInteractionState;
import com.wrupple.muba.catalogs.client.view.EditView;

public class SimpleCatalogEditingProcess<V extends JavaScriptObject>  extends SimpleInteractionProcess<V>
implements CatalogEditingProcess<V>{

	private CatalogInteractionState<V> catalogInteractionState;

	public SimpleCatalogEditingProcess(CatalogInteractionState<V> state) {
		super(state);
		this.catalogInteractionState=state;
	}

	@Override
	public EditView<V> getEditor() {
		return catalogInteractionState.getEditor();
	}

}
